<template>
  <div class="definite">
    <u-navbar :is-back="true" :custom-back="BackM" title="待发货" back-text="">
    </u-navbar>
    <div class="top-bar">
      <div class="top-content">· 等待发货 ·</div>
    </div>
    <div class="top">
      <u-icon name="map" color="#02CB86" class="map" size="50"></u-icon>
      <div class="item">
        <span class="name">余某某</span>
        <span class="tele">17765456548</span>
      </div>
      <div class="address">
        湖北省 武汉市 东西湖区金银潭达大道宏图路8号大道大大道大道大道大道
      </div>
    </div>
    <div class="item-content">
      <div class="img">
        <img src="../../../style/image/order/B1.jpg" alt="" />
      </div>
      <div class="description">充电宝充电宝充电宝充电宝 充电宝充电宝充电宝</div>
      <div>
        <span class="money">¥ 100.00</span>
        <span class="num">×2</span>
      </div>
    </div>
    <div class="item-one">
      <div style="line-height: 1.6rem">
        <span>商品总价</span>
        <span style="float: right">¥200</span>
      </div>
      <div style="line-height: 1.6rem">
        <span>运费金额</span>
        <span style="float: right">¥0</span>
      </div>
      <div style="line-height: 1.6rem">
        <span>红包抵扣</span>
        <span style="float: right">-¥20</span>
      </div>
    </div>
    <div class="item-two">
      <span class="em">实付金额</span>
      <span class="en">¥ 89.90</span>
    </div>
    <div class="item-three">
      <div class="sort">
        <span class="one">订单编号：</span>
        <span class="two">189786647876767765</span>
      </div>
      <div class="sort">
        <span class="one">支付方式：</span>
        <span class="two">支付宝</span>
      </div>
      <div class="sort">
        <span class="one">创建时间：</span>
        <span class="two">2019-11-29 12:35:39</span>
      </div>
      <div class="sort">
        <span class="one">付款时间：</span>
        <span class="two">2019-11-29 12:40:39</span>
      </div>
    </div>
    <button class="button">提醒发货</button>
  </div>
</template>

<script lang='ts' >
import { Component, Prop, Vue, Watch, Emit } from "vue-property-decorator";

@Component({
  //   @Component  是一个装修器   不可以在下面写语句
  name: "test",
})
export default class extends Vue {
  @Prop({
    type: String, // 父组件传递给子组件的数据类型
    required: false, // 是否必填
    default: " ", // 默认值， 如果传入的是 Object，则要 default: ()=>({}) 参数为函数
  })
  msg!: string;

  created() {}

  mounted() {
    //  console.log('父组件传递的参数:',this.$parent)   //暂时不考虑
    //  uni.navigateTo({
    // url: './selectBusin'
    // });
  }
}
</script>

<style  scoped>
.definite {
  font-family: PingFang SC;
  background: #f3f5f7;
  height: 100%;
}
uni-page-body {
  height: 100%;
}
.top-bar {
  height: 2.75rem;
  background: #02af74;
  box-shadow: 0rem 0rem 0rem 0rem rgba(204, 204, 204, 0.35);
}
.top-content {
  font-size: 0.7rem;
  font-family: PingFang SC;
  font-weight: 500;
  color: #ffffff;
  text-align: center;
  line-height: 2.75rem;
}
.top {
  padding: 0.7rem 0.3rem;
  margin-bottom: 0.2rem;
  background: #ffffff;
}
.map {
  float: left;
  height: 3rem;
  width: 1.7rem;
}
.item {
  padding-bottom: 0.3rem;
}
.name {
  font-size: 0.7rem;
  font-family: PingFang SC;
  font-weight: 500;
  color: #000000;
  line-height: 1.06rem;
}
.tele {
  padding-left: 1rem;
  font-size: 0.7rem;
  font-family: PingFang SC;
  font-weight: 400;
  color: #666666;
  line-height: 1.06rem;
}
.address {
  font-size: 0.65rem;
  font-family: PingFang SC;
  font-weight: 400;
  color: #000000;
  line-height: 0.81rem;
}
.item-content {
  padding: 0.4rem;
  height: 3.6rem;
  background: #ffffff;
  font-family: PingFang SC;
  margin-bottom: 0.03rem;
  border-bottom: 0.03rem #e5e5e5 solid;
}
.img {
  float: left;
}
.img img {
  width: 3.6rem;
  height: 3.6rem;
}
.description {
  float: left;
  font-size: 0.7rem;
  padding-left: 0.4rem;
  width: 13.63rem;
  height: 2.5rem;
  font-size: 0.79rem;
  font-family: PingFang SC;
  font-weight: 500;
  color: #101010;
  line-height: 0.98rem;
}
.money {
  float: left;
  font-size: 0.75rem;
  padding-left: 0.4rem;
  font-family: PingFang SC;
  font-weight: 500;
  color: #101010;
}
.num {
  float: right;
  font-size: 0.7rem;
  font-family: PingFang SC;
  font-weight: 500;
  color: #000000;
}
.item-one {
  padding: 0.1rem 0.4rem;
  background: #ffffff;
  font-size: 0.65rem;
  font-family: PingFang SC;
  font-weight: 400;
  color: #666666;
  line-height: 1.06rem;
  margin-bottom: 0.15rem;
}
.item-two {
  background: #ffffff;
  padding: 0.5rem 0.4rem;
  margin-bottom: 0.15rem;
}
.em,
.en {
  font-family: PingFang SC;
  font-weight: 500;
  line-height: 1.06rem;
}
.em {
  font-size: 0.65rem;
  color: #333333;
}
.en {
  float: right;
  font-size: 0.7rem;
  color: #ff0612;
}
.item-three {
  height: 10.97rem;
  background: #ffffff;
  padding: 0.4rem 0.6rem;
}
.sort {
  line-height: 1.6rem;
}
.one,
.two {
  font-size: 0.65rem;
  font-family: PingFang SC;
  font-weight: 400;
  line-height: 1.06rem;
}
.one {
  color: #666666;
}
.two {
  color: #000000;
  padding-left: 1rem;
}
.button {
  font-size: 0.8rem;
  font-family: PingFang SC;
  font-weight: 500;
  color: #ffffff;
  line-height: 2.5rem;
  height: 2.5rem;
  background: #02af74;
  border-radius: 0;
}
</style>